HapticFeedbackConstantsCompat

Types

Link copied to clipboard
Flags for performing haptic feedback.
Link copied to clipboard
Haptic feedback types.

Properties

Link copied to clipboard
val CLOCK_TICK: Int = 4
The user has pressed either an hour or minute tick of a Clock.
Link copied to clipboard
val CONFIRM: Int = 16
A haptic effect to signal the confirmation or successful completion of a user interaction.
Link copied to clipboard
The user has performed a context click on an object.
Link copied to clipboard
val DRAG_START: Int = 25
The user has started a drag-and-drop gesture.
Link copied to clipboard
Flag for performHapticFeedback: Ignore the setting in the view for whether to perform haptic feedback, do it always.
Link copied to clipboard
val GESTURE_END: Int = 13
The user has finished a gesture (e.g.
Link copied to clipboard
val GESTURE_START: Int = 12
The user has started a gesture (e.g.
Link copied to clipboard
The user is executing a swipe/drag-style gesture, such as pull-to-refresh, where the gesture action is “eligible” at a certain threshold of movement, and can be cancelled by moving back past the threshold.
Link copied to clipboard
The user is executing a swipe/drag-style gesture, such as pull-to-refresh, where the gesture action is “eligible” at a certain threshold of movement, and can be cancelled by moving back past the threshold.
Link copied to clipboard
The user has pressed a virtual or software keyboard key.
Link copied to clipboard
The user has released a virtual keyboard key.
Link copied to clipboard
val KEYBOARD_TAP: Int = 3
The user has pressed a soft keyboard key.
Link copied to clipboard
val LONG_PRESS: Int = 0
The user has performed a long press on an object that is resulting in an action being performed.
Link copied to clipboard
val NO_HAPTICS: Int = -1
No haptic feedback should be performed.
Link copied to clipboard
val REJECT: Int = 17
A haptic effect to signal the rejection or failure of a user interaction.
Link copied to clipboard
The user is switching between a series of many potential choices, for example minutes on a clock face, or individual percentages.
Link copied to clipboard
val SEGMENT_TICK: Int = 26
The user is switching between a series of potential choices, for example items in a list or discrete points on a slider.
Link copied to clipboard
The user has performed a selection/insertion handle move on text field.
Link copied to clipboard
val TOGGLE_OFF: Int = 22
The user has toggled a switch or button into the off position.
Link copied to clipboard
val TOGGLE_ON: Int = 21
The user has toggled a switch or button into the on position.
Link copied to clipboard
val VIRTUAL_KEY: Int = 1
The user has pressed on a virtual on-screen key.
Link copied to clipboard
The user has released a virtual key.